package com.chuantou.yuba.api.to;

import com.google.gson.annotations.SerializedName;

import android.os.Parcel;
import android.os.Parcelable;

public class FriendTO implements Parcelable {
	// 用户ID
	@SerializedName("match_id")
	private long uid;
	// 个性签名
	@SerializedName("mood")
	private String mood;
	// 头像
	@SerializedName("avatar")
	private String avatar;
	// 昵称
	@SerializedName("username")
	private String nickname;
	// 生日
	@SerializedName("birthday")
	private String birthday;
	// 性别
	@SerializedName("sex")
	private int sex;

	public FriendTO() {
	}

	public FriendTO(Parcel source) {
		// TODO 需要序列化时再做
	}

	@Override
	public int describeContents() {
		return 0;
	}

	@Override
	public void writeToParcel(Parcel dest, int flags) {
		// TODO 需要序列化时再做
	}

	public static final Creator<FriendTO> CREATOR = new Creator<FriendTO>() {

		@Override
		public FriendTO[] newArray(int size) {
			return new FriendTO[size];
		}

		@Override
		public FriendTO createFromParcel(Parcel source) {
			return new FriendTO(source);
		}
	};

	public long getUid() {
		return uid;
	}

	public void setUid(long uid) {
		this.uid = uid;
	}

	public String getMood() {
		return mood;
	}

	public void setMood(String mood) {
		this.mood = mood;
	}

	public String getAvatar() {
		return avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public String getBirthday() {
		return birthday;
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}

	public int getSex() {
		return sex;
	}

	public void setSex(int sex) {
		this.sex = sex;
	}

}
